package edu.asu.cse360.model;

import edu.asu.cse360.util.EmployeeVisitor;
import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;


@Entity
@javax.persistence.Table(name="chef")
@PrimaryKeyJoinColumn(name="employee_id")
public class Chef extends Employee{

    public Chef(){}

    public Chef(Restaurant res){
        super(res);
    }

    @Override
    public Object accept(EmployeeVisitor visitor) {
        return visitor.visit(this);
    }

}
